package com.yeebo.common;

import com.yeebo.enums.config.ParamNameEnums;
import com.yeebo.utils.ResponseUtils;
import com.yeebo.vo.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("enums")
public class EnumsController extends BaseController {

    @RequestMapping(value = "/loadGlobalParamNameEnums")
    @ResponseBody
    public Result loadGlobalParamNameEnums() {
        return ResponseUtils.success(ParamNameEnums.toList());
    }

}
